package hp.com.entity;

import java.util.Date;

public class Order {
	  /*`oid` '订单id',
	  `uid`'用户id',
	  `cid`  '汽车id',
	  `ostartime`'租车时间',
	  `obacktime`'还车时间',
	  `otime`  '租车时长',
	  `omoney`'费用',
	  `zhm` '租车时长，毫秒数',*/
	/*unamename 用户名
	cname 车辆名称
	ccard 车辆牌号
	cmoney 车辆收费标准*/
	private int oid;
	private int uid;
	private int cid;
	private String  ostartime;
	private String  obacktime;
	private int otime;	
	private double omoney;
	private long zhm;
	private int zotime;	
	private double zomoney;
	//////////
	private String unamename;
	private String cname;
	private String ccard;
	private double cmoney;
	public Order() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Order(int oid, int uid, int cid, String ostartime, String obacktime, int otime, double omoney, long zhm,
			int zotime, double zomoney, String unamename, String cname, String ccard, double cmoney) {
		super();
		this.oid = oid;
		this.uid = uid;
		this.cid = cid;
		this.ostartime = ostartime;
		this.obacktime = obacktime;
		this.otime = otime;
		this.omoney = omoney;
		this.zhm = zhm;
		this.zotime = zotime;
		this.zomoney = zomoney;
		this.unamename = unamename;
		this.cname = cname;
		this.ccard = ccard;
		this.cmoney = cmoney;
	}
	public int getOid() {
		return oid;
	}
	public void setOid(int oid) {
		this.oid = oid;
	}
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public int getCid() {
		return cid;
	}
	public void setCid(int cid) {
		this.cid = cid;
	}
	public String getOstartime() {
		return ostartime;
	}
	public void setOstartime(String ostartime) {
		this.ostartime = ostartime;
	}
	public String getObacktime() {
		return obacktime;
	}
	public void setObacktime(String obacktime) {
		this.obacktime = obacktime;
	}
	public int getOtime() {
		return otime;
	}
	public void setOtime(int otime) {
		this.otime = otime;
	}
	public double getOmoney() {
		return omoney;
	}
	public void setOmoney(double omoney) {
		this.omoney = omoney;
	}
	public long getZhm() {
		return zhm;
	}
	public void setZhm(long zhm) {
		this.zhm = zhm;
	}
	public int getZotime() {
		return zotime;
	}
	public void setZotime(int zotime) {
		this.zotime = zotime;
	}
	public double getZomoney() {
		return zomoney;
	}
	public void setZomoney(double zomoney) {
		this.zomoney = zomoney;
	}
	public String getUnamename() {
		return unamename;
	}
	public void setUnamename(String unamename) {
		this.unamename = unamename;
	}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public String getCcard() {
		return ccard;
	}
	public void setCcard(String ccard) {
		this.ccard = ccard;
	}
	public double getCmoney() {
		return cmoney;
	}
	public void setCmoney(double cmoney) {
		this.cmoney = cmoney;
	}
	@Override
	public String toString() {
		return "Order [oid=" + oid + ", uid=" + uid + ", cid=" + cid + ", ostartime=" + ostartime + ", obacktime="
				+ obacktime + ", otime=" + otime + ", omoney=" + omoney + ", zhm=" + zhm + ", zotime=" + zotime
				+ ", zomoney=" + zomoney + ", unamename=" + unamename + ", cname=" + cname + ", ccard=" + ccard
				+ ", cmoney=" + cmoney + "]";
	}
	
}
